<template>
  <div>
    这里是 my
    <hr />
    <router-link to="/my/userinfo">用户信息</router-link>
    <router-link to="/my/login">登录</router-link>

    <router-view></router-view>
  </div>
</template>
<script>
export default {
  props: ["us"],
  mounted() {
    console.log("我的组件");
    console.log(this);
    console.log(this.$route);
  },
};
</script>
